﻿<%@ Page Title="Ebiznis 2009" Language="C#" MasterPageFile="~/admin.Master" AutoEventWireup="true" CodeBehind="AddPrivileges.aspx.cs" Inherits="sdamarketing.Administration.AddPrivileges" %>
<asp:Content ID="Content2" ContentPlaceHolderID="title1PlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="text1PlaceHolder" runat="server">
    <table style="width:100%;">
        <tr>
            <td style="width: 142px" align="right">
                <asp:Label ID="lblPrivileges" runat="server" Text="Тип на привилегија"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txbPrivilege" runat="server" Width="168px" 
                    ValidationGroup="savePrivilege"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txbPrivilege" 
                    ErrorMessage="Ве молиме внесете привилегија" ValidationGroup="savePrivilege">*</asp:RequiredFieldValidator>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 142px" align="right">
                <asp:Button ID="btnSave" runat="server" Text="Зачувај" onclick="btnSave_Click" 
                    ValidationGroup="savePrivilege" />
            </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Label ID="lblMessage" runat="server" ForeColor="Red"></asp:Label>
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="mainTitle2PlaceHolder" runat="server">
    <asp:Label ID="Label2" runat="server" Text="Додадете привилегија на панел/линк"></asp:Label>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="title2PlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="text2PlaceHolder" runat="server">
    <table style="width:100%;">
        <tr>
            <td style="width: 170px" align = "right">
                <asp:Label ID="Label3" runat="server" Text="Изберете панел/линк"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="panelsDropDown" runat="server" Width="168px" 
                    onselectedindexchanged="panelsDropDown_SelectedIndexChanged" 
                    AutoPostBack="True" ValidationGroup="saveChanges">
                </asp:DropDownList>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="panelsDropDown" 
                    ErrorMessage="Ве молиме изберете привилегија" ValidationGroup="saveChanges">*</asp:RequiredFieldValidator>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 170px" align = "right">
                <asp:Label ID="Label4" runat="server" Text="Додадете привилегија на панелот"></asp:Label>
            </td>
            <td>
                <asp:CheckBoxList ID="priviligesCheckBoxes" runat="server" 
                    ValidationGroup="saveChanges">
                </asp:CheckBoxList>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 170px" align="right">
                <asp:Button ID="SaveChanges" runat="server" Text="Зачувај" 
                    onclick="SaveChanges_Click" ValidationGroup="saveChanges" />
            </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td align="left" colspan="2">
                <asp:Label ID="lblMessageCheckBoxes" runat="server" ForeColor="Red"></asp:Label>
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content7" runat="server" 
    contentplaceholderid="mainTitle1PlaceHolder">
                <h2 class="title">
                    &nbsp;&nbsp;додадете привилигија</h2>
                
</asp:Content>

